package com.dongnam.quanly.common.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "ChiTietHoaDon")
public class ChiTietHoaDon extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "SoHoaDon")
	private String hoaDon;

	@Id
	@Column(name = "MaVTHH")
	private String maVthh;

	@Column(name = "TenVTHH")
	private String tenVthh;

	@Column(name = "SoLuong")
	private Integer soLuong;

	@Column(name = "DonGiaMua")
	private double donGiaMua;

	@Column(name = "DonGiaMuaUSD")
	private double donGiaMua_USD;

	@Column(name = "ThueGTGT")
	private double thueGTGT;

	@Column(name = "ThanhTien")
	private double thanhTien;

	@Column(name = "ThanhTienUSD")
	private double thanhTien_USD;

	public ChiTietHoaDon() {
		// TODO Auto-generated constructor stub
	}

	public ChiTietHoaDon(ChiTietHoaDon ct) {
		this.hoaDon = ct.hoaDon;
		this.maVthh = ct.maVthh;
		this.tenVthh = ct.tenVthh;
		this.soLuong = ct.soLuong;
		this.donGiaMua = ct.donGiaMua;
		this.donGiaMua_USD = ct.donGiaMua_USD;
		this.thueGTGT = ct.thueGTGT;
		this.thanhTien = ct.thanhTien;
		this.thanhTien_USD = ct.thanhTien_USD;
	}

	public String getHoaDon() {
		return hoaDon;
	}

	public void setHoaDon(String hoaDon) {
		this.hoaDon = hoaDon;
	}

	public String getMaVthh() {
		return maVthh;
	}

	public void setMaVthh(String maVthh) {
		this.maVthh = maVthh;
	}

	public String getTenVthh() {
		return tenVthh;
	}

	public void setTenVthh(String tenVthh) {
		this.tenVthh = tenVthh;
	}

	public Integer getSoLuong() {
		return soLuong;
	}

	public void setSoLuong(Integer soLuong) {
		this.soLuong = soLuong;
	}

	public double getDonGiaMua() {
		return donGiaMua;
	}

	public void setDonGiaMua(double donGiaMua) {
		this.donGiaMua = donGiaMua;
	}

	public double getDonGiaMua_USD() {
		return donGiaMua_USD;
	}

	public void setDonGiaMua_USD(double donGiaMua_USD) {
		this.donGiaMua_USD = donGiaMua_USD;
	}

	public double getThueGTGT() {
		return thueGTGT;
	}

	public void setThueGTGT(double thueGTGT) {
		this.thueGTGT = thueGTGT;
	}

	public double getThanhTien() {
		return thanhTien;
	}

	public void setThanhTien(double thanhTien) {
		this.thanhTien = thanhTien;
	}

	public double getThanhTien_USD() {
		return thanhTien_USD;
	}

	public void setThanhTien_USD(double thanhTien_USD) {
		this.thanhTien_USD = thanhTien_USD;
	}

}
